package cn.zysuyuan.auth.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author flypig
 * @version 1.0
 * @date 2020-03-18 23:15
 */

@FeignClient(value = "item-service")
public interface RoleClient {
    @GetMapping("/user/selectRoles")
    public Map<String,Object> findRoles(@RequestParam("level") String level, @RequestParam("id") String id);
}
